﻿using System;
using System.Collections.Generic;
using System.Data;

using System.Text;
using KPIS.GERP.ESS.DAL;

namespace KPIS.GERP.ESS.BLL
{
    public class HrmActivityBLL
    {
        private static readonly HrmActivityDAL dal = new HrmActivityDAL();

        public DataSet LoadActivity(Nullable<int> Sequence, Nullable<int> JobSiteSeq
            , Nullable<DateTime> ProjectStartDate, Nullable<DateTime> ProjectEndDate)
        {
            return dal.LoadActivity(Sequence, JobSiteSeq, ProjectStartDate, ProjectEndDate);
        }
        public void InsertActivityRequests(int ActivitySequence, int EmpSequence, int CreatedBy)
        {
            dal.InsertActivityRequests(ActivitySequence, EmpSequence, CreatedBy);
        }
        public void UpdateActivityRequests(Nullable<int> Sequence, int UpdatedBy)
        {
            dal.UpdateActivityRequests(Sequence, UpdatedBy);
        }
    }
}
